<template>
  <div>
    <div class="third">
      <div class="vip_pic_super"></div>
      <ul class="vip_cloth">
        <li v-for="floor in floorList" :key="floor.id">
          <a href=""><img :src="floor.img" alt="" /></a>
        </li>
      </ul>
      <div class="day_look">
        <a href=""><img :src="tartList.imgUrl2" alt="" /></a>
      </div>
      <ul class="cheap_shop">
        <li class="super_value">
          <a href=""
            ><img src="./images/1632993203874_1020x564_90.jpg" alt=""
          /></a>
          <div class="super_value_goods">
            <a href=""
              ><img
                src="./images/33884a11-f037-46f7-aad9-1c0ca87d2e2e_292x292_90.jpg"
                alt=""
            /></a>
            <a href=""
              ><img
                src="./images/4981b043-a729-4570-a970-8deb6718e257_292x292_90.jpg"
                alt=""
            /></a>
            <a href=""
              ><img
                src="./images/af276339-4d06-47e9-a456-d33b72b6b513_292x292_90.jpg"
                alt=""
            /></a>
          </div>
          <div class="brand">
            <div class="brand1">
              <img src="./images/primary_136x68_90 (1).png" alt="" />
              <div>共210款</div>
            </div>
            <div class="brand2">
              <img src="./images/primary_136x68_90 (2).png" alt="" />
              <div>共650款</div>
            </div>
            <div class="brand3">
              <img src="./images/primary_160x80_90 (1).png" alt="" />
              <div>共805款</div>
            </div>
          </div>
          <div class="present_value_l">
            <span class="present_value_str1">特卖价</span>
            <span class="present_value_str2">特卖价</span>
            <span class="present_value_str3">特卖价</span>
          </div>
          <div class="present_value_r">
            <span class="present_value_num1">￥238</span>
            <span class="present_value_num2">￥559</span>
            <span class="present_value_num3">￥88</span>
          </div>
        </li>
        <li class="low_price">
          <a href=""
            ><img src="./images/1632830863195_970x564_90.jpg" alt=""
          /></a>
          <div class="low_price_goods">
            <a href=""
              ><img
                src="./images/4ffcc554-e24c-4d2b-8586-814a62b73bf4_290x290_90.jpg"
                alt=""
            /></a>
            <a href=""
              ><img
                src="./images/95ee1674-75e0-4b14-aec0-406baad26268_290x290_90.jpg"
                alt=""
            /></a>
            <a href=""
              ><img
                src="./images/168f80eb-2808-4376-bcb1-81a49182da63_340x340_90.jpg"
                alt=""
            /></a>
          </div>
          <div class="brand">
            <div class="brand3">
              <img src="./images/primary_136x68_90 (3).png" alt="" />
            </div>
            <div class="brand4">
              <img src="./images/primary_136x68_90 (4).png" alt="" />
            </div>
            <div class="brand5">
              <img src="./images/primary_136x68_90 (5).png" alt="" />
            </div>
          </div>
          <div class="present_value_l">
            <span class="present_value_str1">特卖价</span>
            <span class="present_value_str2">特卖价</span>
            <span class="present_value_str3">特卖价</span>
          </div>
          <div class="present_value_r">
            <span class="present_value_num1">￥238</span>
            <span class="present_value_num2">￥559</span>
            <span class="present_value_num3">￥88</span>
          </div>
        </li>
        <li class="reduce_price">
          <a href=""
            ><img src="./images/1633760102132_1020x616_90.jpg" alt=""
          /></a>
          <div class="reduce_price_goods">
            <a href=""
              ><img
                src="./images/1012795849-1109369673519030272-1109369673519030274-1_340x340_90.jpg"
                alt=""
            /></a>
            <a href=""
              ><img
                src="./images/263577715-1976594330448007168-1976594330448007170-1_340x340_90.jpg"
                alt=""
            /></a>
            <a href=""
              ><img
                src="./images/afe19648-b38c-40df-84b6-d13c08c54c8f_340x340_90.jpg"
                alt=""
            /></a>
          </div>
          <div class="present_value_l">
            <span class="present_value_str1">特卖价</span>
            <span class="present_value_str2">特卖价</span>
            <span class="present_value_str3">特卖价</span>
          </div>
          <div class="present_value_r">
            <span class="present_value_num1">￥238</span>
            <span class="present_value_num2">￥559</span>
            <span class="present_value_num3">￥88</span>
          </div>
        </li>
        <li class="chart">
          <a href=""
            ><img src="./images/1632835687051_1140x724_90.jpg" alt=""
          /></a>
          <div class="chart_goods">
            <a href=""
              ><img
                src="./images/85a91aca-a754-490b-9a64-bc4b9e341f91_344x344_90.jpg"
                alt=""
            /></a>
            <a href=""
              ><img
                src="./images/13f91fa3-f7d1-41ab-89bd-725e84f8b6d1_344x344_90.jpg"
                alt=""
            /></a>
            <a href=""
              ><img
                src="./images/2046760680-1950980033988907032-798058593765134348-1_344x344_90.jpg"
                alt=""
            /></a>
          </div>
          <div class="chart_goods_top1">
            <div class="chart_goods_hot1">
              <img src="./images/1599118382502_204x38_90.png" alt="" />
            </div>
            <div class="chart_goods_hot2">
              <img src="./images/1599118382502_204x38_90.png" alt="" />
            </div>
            <div class="chart_goods_hot3">
              <img src="./images/1599118382502_204x38_90.png" alt="" />
            </div>
          </div>
          <div class="chart_goods1">
            <a href=""
              ><img src="./images/1632830500644_340x474_90.jpg" alt=""
            /></a>
            <a href=""
              ><img src="./images/1632830500644_340x474_90.jpg" alt=""
            /></a>
            <a href=""
              ><img src="./images/1632830500644_340x474_90.jpg" alt=""
            /></a>
          </div>
          <div class="chart_name">
            <div class="girl_cloth">女羽绒服</div>
            <div class="man_cloth">男羽绒服</div>
            <div class="girl_cloth_big">女式大衣</div>
          </div>
        </li>
      </ul>
      <div class="waterfall">
        <div class="content-fall" v-for="brand in brandList" :key="brand.id">
          <a href=""><img :src="brand.imgurl" alt="" /></a>
          <i class="waterfall_name">
            <span class="waterfall_name_num">{{ brand.brandNum }}</span>
            <span class="waterfall_name_str">{{ brand.brandStr }}</span>
            <span class="waterfall_name_title">{{ brand.title }}</span>
          </i>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { mapState } from "vuex";

export default {
  name: "",
  mounted() {
    this.$store.dispatch("getVipcloth");
    this.$store.dispatch("getLtart");
    this.$store.dispatch("getBrand");
  },
  computed: {
    ...mapState({
      floorList: (state) => state.home.floorList,
      tartList: (state) => state.home.tartList,
      brandList: (state) => state.home.brandList,
    }),
  },
};
</script>

<style lang="less" scoped>
.third {
  width: 1170px;
  margin: 0 auto;

  .vip_pic_super {
    background: url("./images/1637145008528_1990x204_90.jpg") no-repeat;
    height: 120px;
    margin: 30px auto;
  }
  .vip_cloth {
    margin: 0 auto;
    li:nth-child(2) {
      margin: 0 18px;
    }
    li {
      float: left;
    }
  }
  .day_look {
    img {
      margin: 30px auto;
    }
  }
  .cheap_shop {
    font-size: 14px;
    color: rgb(88, 92, 100);
    li {
      float: left;
    }
    .super_value {
      position: relative;
      img {
        width: 600px;
        height: 332px;
      }

      .super_value_goods {
        position: absolute;
        left: 22px;
        top: 76px;
        width: 526px;
        img {
          width: 172px;
          height: 172px;
        }
      }
      .brand {
        div {
          margin-top: 5px;
        }
      }
      .brand1 {
        position: absolute;
        left: 46px;
        top: 202px;
        width: 122px;
        height: 76px;
        background: #fff;
        border-radius: 4px;
        text-align: center;
        img {
          width: 80px;
          height: 40px;
        }
      }
      .brand2 {
        position: absolute;
        left: 224px;
        top: 202px;
        width: 122px;
        height: 76px;
        background: #fff;
        border-radius: 4px;
        text-align: center;
        img {
          width: 80px;
          height: 40px;
        }
      }
      .brand3 {
        position: absolute;
        left: 402px;
        top: 202px;
        width: 122px;
        height: 76px;
        background: #fff;
        border-radius: 4px;
        text-align: center;
        img {
          width: 80px;
          height: 40px;
        }
      }
    }
    .present_value_l {
      span {
        width: 50px;
        height: 24px;
        line-height: 24px;
        border-radius: 40px;
        overflow: hidden;
        background-color: rgb(240, 56, 103);
        font-size: 12px;
        color: rgb(255, 255, 255);
        text-align: center;
      }

      .present_value_str1 {
        left: 50px;
        top: 289px;
        position: absolute;
      }
      .present_value_str2 {
        left: 228px;
        top: 289px;
        position: absolute;
      }
      .present_value_str3 {
        left: 406px;
        top: 289px;
        position: absolute;
      }
    }
    .present_value_r {
      span {
        font-size: 16px;
        color: rgb(0, 0, 0);
      }
      .present_value_num1 {
        position: absolute;
        left: 100px;
        top: 289px;
      }
      .present_value_num2 {
        position: absolute;
        left: 278px;
        top: 289px;
      }
      .present_value_num3 {
        position: absolute;
        left: 456px;
        top: 289px;
      }
    }
    .low_price {
      position: relative;
      img {
        width: 570px;
        height: 332px;
      }
      .low_price_goods {
        position: absolute;
        left: 22px;
        top: 76px;
        width: 526px;
        img {
          width: 172px;
          height: 172px;
        }
      }
      .brand3 {
        position: absolute;
        left: 57px;
        top: 217px;
        background-color: white;
        border: 1px solid #ccc;
        img {
          width: 100px;
          height: 60px;
        }
      }
      .brand4 {
        position: absolute;
        left: 235px;
        top: 217px;
        background-color: white;
        border: 1px solid #ccc;
        img {
          width: 100px;
          height: 60px;
        }
      }
      .brand5 {
        position: absolute;
        left: 413px;
        top: 217px;
        background-color: white;
        border: 1px solid #ccc;
        img {
          width: 100px;
          height: 60px;
        }
      }
    }
    .reduce_price {
      position: relative;
      img {
        width: 600px;
        height: 362px;
      }
      .reduce_price_goods {
        position: absolute;
        left: 22px;
        top: 106px;
        width: 526px;
        img {
          width: 172px;
          height: 172px;
        }
      }
    }
    .chart {
      position: relative;
      img {
        width: 570px;
        height: 362px;
      }
      .chart_goods {
        z-index: 1;
        position: absolute;
        left: 22px;
        top: 106px;
        width: 526px;
        img {
          width: 172px;
          height: 172px;
        }
      }
      .chart_goods1 {
        position: absolute;
        left: 22px;
        top: 106px;
        width: 526px;
        img {
          width: 172px;
          height: 237px;
        }
      }
      .chart_goods_top1 {
        img {
          width: 120px;
          height: 22px;
        }

        .chart_goods_hot1 {
          z-index: 1;
          position: absolute;
          left: 47px;
          top: 281px;
        }
        .chart_goods_hot2 {
          z-index: 1;
          position: absolute;
          left: 225px;
          top: 281px;
        }
        .chart_goods_hot3 {
          z-index: 1;
          position: absolute;
          left: 403px;
          top: 281px;
        }
      }
      .chart_name {
        div {
          width: 120px;
          height: 20px;
          font-size: 16px;
          color: rgb(34, 34, 34);
          text-align: center;
        }
      }
      .girl_cloth {
        left: 42px;
        top: 316px;
        position: absolute;
      }
      .man_cloth {
        left: 220px;
        top: 316px;
        position: absolute;
      }
      .girl_cloth_big {
        position: absolute;
        left: 398px;
        top: 316px;
      }
    }
  }

  .waterfall {
    width: 1200px;
    height: 1800px;
    // overflow: hidden;
    .content-fall {
      &:hover {
        transform: scale(1.1);
      }
      float: left;
      margin-top: 20px;
      margin-right: 30px;
    }
    img {
      width: 570px;
      height: 312px;
    }
    .waterfall_name {
      display: block;
      padding-top: 18px;

      .waterfall_name_num {
        font-size: 26px;
        color: #f03867;
      }
      .waterfall_name_str {
        margin-right: 10px;
        font-size: 20px;
        color: #222;
      }
      .waterfall_name_title {
        font-size: 20px;
        color: #222;
      }
    }
  }
}
</style>
